package com.example.mapper;

import com.example.entity.TbSpecification;
import com.example.entity.TbSpecificationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbSpecificationMapper {
    long countByExample(TbSpecificationExample example);

    int deleteByExample(TbSpecificationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbSpecification row);

    int insertSelective(TbSpecification row);

    List<TbSpecification> selectByExample(TbSpecificationExample example);

    TbSpecification selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") TbSpecification row, @Param("example") TbSpecificationExample example);

    int updateByExample(@Param("row") TbSpecification row, @Param("example") TbSpecificationExample example);

    int updateByPrimaryKeySelective(TbSpecification row);

    int updateByPrimaryKey(TbSpecification row);
}